<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <h4></h4>
    <script>
        const uname = decodeURI(location.search).substr(1).split('=')[1]
        document.querySelector('h4').innerHTML = `${uname} 欢迎你`
    </script>
</body>

</html>